//
//  PSShowViewController.swift
//  PhotoSetSwift
//
//  Created by 金玉龙 on 15/12/18.
//  Copyright © 2015年 jinyulong. All rights reserved.
//

import UIKit

class PSShowViewController: UIViewController,UIGestureRecognizerDelegate {

    override func viewWillAppear(animated: Bool) {
        super.viewWillAppear(animated)
        if let navigationController = self.navigationController{
            navigationController.setNavigationBarHidden(true, animated: animated)
        }
    }
    override func viewDidLoad() {
        super.viewDidLoad()
        initProperties()
    }
    
    private func initProperties(){
        self.title = "图集详情"
        if let navigationController = self.navigationController{
            navigationController.interactivePopGestureRecognizer?.delegate = self
            navigationController.interactivePopGestureRecognizer?.enabled = true
        }
        self.view.backgroundColor = UIColor.blackColor()
    }

    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }
    

    /*
    // MARK: - Navigation

    // In a storyboard-based application, you will often want to do a little preparation before navigation
    override func prepareForSegue(segue: UIStoryboardSegue, sender: AnyObject?) {
        // Get the new view controller using segue.destinationViewController.
        // Pass the selected object to the new view controller.
    }
    */

}
